/*
 * declare_parser.h
 *
 *  Created on: 2013-4-30
 *      Author: xkaying
 */

#ifndef DECLARE_PARSER_H_
#define DECLARE_PARSER_H_

#include "declare_expression.h"
#include "../common/symboltable.h"
//declare 部分解析

typedef struct _declarelex DeclareLex;
//解析定义部分 返回定义,如果出错,则返回0
DeclareLex *DeclareLexer(char *buff,int size);
DeclareExpression  *DeclareParser(DeclareLex *pdeclare);

#endif /* DECLARE_PARSER_H_ */
